package com.xbongbong.crm.service;

import com.xbongbong.paas.domain.entity.ext.PaasFormDataEntityExt;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.parent.pojo.list.CommunicatePlanAnalysisDataVO;
import com.xbongbong.parent.pojo.list.FieldListPojo;
import com.xbongbong.pro.formexplain.pojo.HandleExplainPojo;
import com.xbongbong.pro.weblist.pojo.dto.CommunicatePlanDTO;
import com.xbongbong.pro.weblist.pojo.vo.CustomerPlanVO;

import java.util.List;

/**
 * @author sunshaoxiang
 * @ClassName CommunicatePlanService
 * @Description 访客计划列表页接口
 * @Date 2022/5/27 16:22
 * @Version 1.0
 **/
public interface CommunicatePlanListService {

    /**
     * 获取访客计划的列表数据
     * @param communicatePlanDTO
     * @return
     * @throws XbbException
     */
    CustomerPlanVO list(CommunicatePlanDTO communicatePlanDTO) throws XbbException;

    /**
     * 获取并封装解释
     * @param fieldListPojo
     * @return
     * @throws XbbException
     */
    HandleExplainPojo getExplain(FieldListPojo fieldListPojo) throws XbbException;

    /**
     * 获取并解析数据
     * @param communicatePlanDTO
     * @param explainPojo
     * @return
     * @throws XbbException
     */
    CommunicatePlanAnalysisDataVO getData(CommunicatePlanDTO communicatePlanDTO, HandleExplainPojo explainPojo) throws XbbException;
}
